package main

import "fmt"

const englishHelloPrefix = "Hello, "
const spanishHelloPrefix = "Hola, "
const frenchHelloPrefix = "Bonjour "
const spanish = "Spanish"
const french = "French"

func main() {
	fmt.Println(Hello("", ""))
}

func Hello(name string, language string) string {
	switch language {
	case spanish:
		if name == "" {
			return spanishHelloPrefix + "mundo"
		}
		return spanishHelloPrefix + name
	case french:
		if name == "" {
			return frenchHelloPrefix + "le monde"
		}
		return frenchHelloPrefix + name
	default:
		if name == "" {
			return englishHelloPrefix + "world"
		}
		return englishHelloPrefix + name
	}
}
